/**
 * Created by dllo on 18/4/3.
 */
public class Test2 {
    public static void main(String[] args) {
        Student student = new Student();
        //对象.方法
        //--> 方法的调用
        //调用student对象的 study()方法
        student.name = "张三";
        student.study();
        Student student1 = new Student();
        student1.name ="李四";
        student1.study();

    }
}
